package com.example.bootdemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/chapter0")
public class HelloController {
    @RequestMapping("/hello")
    String printHello() {
        return "hello world!";
    }
}
